package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 员工实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_employee")
public class Employee extends BaseDomain {

    private String username;
    private String email;
    private String phone;
    private String password;
    private Integer age;
    private Integer state;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;
    private Long parentId;
    private Long managerId;
}
